package com.woniuxy.yoga.commons.core.exception;


public class YogaException extends RuntimeException{

    private final Integer code;

    public YogaException(Integer code, String message){
        super(message);
        this.code=code;
    }

    public Integer getCode() {
        return code;
    }
}
